package com.libertas.begin;
import android.app.Application;
import android.content.Context;

import com.libertas.interfaces.IJumpTable;
import com.libertas.jump.MenuFirstLoginJump;

public class HomeLandSecurity extends Application{
	private static String username;
	private static String password;
	private static IJumpTable jumpTable;
	private static Context context;
	@Override
	public void onCreate() {
	    super.onCreate();
	    context = this;
	    jumpTable = MenuFirstLoginJump.getInstance();
	    username="";
	    password="";
	}
	
    public static void setJumpTable(IJumpTable c){
    	jumpTable = c;
    }
    
    public static IJumpTable getJumpTable(){
    	return jumpTable;
    }
    
	public static String getUsername() {
	    return username;
	}

	public static void setUsername(String username) {
		HomeLandSecurity.username = username;
	}

	public static String getPassword() {
	    return password;
	}

	public static void setPassword(String password) {
		HomeLandSecurity.password = password;
	}

	public static String getStringResourse(int sid){
		return context.getResources().getString(sid);
	}
}
